<template>
	<view class="u-demo">
		<view class="u-demo-title">
			{{content.title}}
		</view>
		<image :src="base+content.imgUrl" mode="" style="width: 100%;"></image>
		<view>承办单位：{{content.undertaker}}</view>
		<view>诉求内容：{{content.content}}</view>
		<view>提交时间：{{content.createTime}}</view>
		<view>反馈处理状态：{{content.state == 0?'未处理':'已处理'}}</view>
		<uni-card title="处理结果">
			<view>{{content.detailResult}}</view>
		</uni-card>
	</view>
</template>

<script>
	import api from 'commer/apiURL.js'
	export default {
		data() {
			return {
				base:api.baseurl,
				content:''
			}
		},
		onLoad(options) {
			this.getlun(options.id)
		},
		methods: {
			getlun(id){
				this.$get(this.base+'/prod-api/api/gov-service-hotline/appeal/'+id).then((res)=>{
					this.content = res.data
				})
			}
		}
	}
</script>

<style>

</style>
